Learn Microservices with Spring Boot by Moisés Macero García
Author:Moisés Macero García
Language: eng
Format: epub
ISBN: 9781484261316
Publisher: Apress
API Exposure
We created a REST endpoint in the Gamification microservice that was intended for the Multiplication microservice. But the UI also needs access to the Gamification microservice so, in fact, anybody could access it. Smart users could send fake data to the Gamification microservice if they use an HTTP client (like HTTPie). We would be in a bad situation since that would break our data integrity. Users could score points and get badges without the corresponding attempts stored on the Multiplication side.
There are multiple ways of solving this problem. We could think of adding a security layer to our endpoints and make sure that internal APIs are available only for other back-end services. A simpler option is to use a reverse proxy (with the Gateway pattern) to make sure that we expose only the public endpoints. Weâll cover this option in more detail in Chapter 8.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7808)
Grails in Action by Glen Smith Peter Ledbrook(7719)
Azure Containers Explained by Wesley Haakman & Richard Hooper(6816)
Configuring Windows Server Hybrid Advanced Services Exam Ref AZ-801 by Chris Gill(6815)
Running Windows Containers on AWS by Marcio Morales(6332)
Kotlin in Action by Dmitry Jemerov(5089)
Microsoft 365 Identity and Services Exam Guide MS-100 by Aaron Guilmette(5055)
Combating Crime on the Dark Web by Nearchos Nearchou(4630)
Microsoft Cybersecurity Architect Exam Ref SC-100 by Dwayne Natwick(4585)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4437)
The Ruby Workshop by Akshat Paul Peter Philips Dániel Szabó and Cheyne Wallace(4319)
The Age of Surveillance Capitalism by Shoshana Zuboff(3978)
Python for Security and Networking - Third Edition by José Manuel Ortega(3881)
The Ultimate Docker Container Book by Schenker Gabriel N.;(3539)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3528)
Learn Wireshark by Lisa Bock(3501)
Mastering Python for Networking and Security by José Manuel Ortega(3376)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3355)
Blockchain Basics by Daniel Drescher(3322)
